package com.ruoyi.rulengine.listener;

import com.ruoyi.iotcommon.constant.RocketTopicConstant;
import com.ruoyi.iotcommon.domain.OnlineStatusMessage;
import org.apache.rocketmq.spring.annotation.RocketMQMessageListener;
import org.apache.rocketmq.spring.core.RocketMQListener;
import org.springframework.stereotype.Service;

/**
 * 在线状态监听器
 */
@Service
@RocketMQMessageListener( topic = RocketTopicConstant.ONLINE_STATUS, consumerGroup = "iot-rulengine-device-onlineStatus")
public class OnlineStatusListener implements RocketMQListener<OnlineStatusMessage>{


    @Override
    public void onMessage(OnlineStatusMessage message) {

    }
    
}
